home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Word 13
/
The Word 13 (Disk 2 of 2).adf
/
Install.s
< prev
next >
Wrap
Text File
|
1997-03-02
|
3KB
|
116 lines
; Harddrive Install for The Word 13...
Echo "*Ec"
Echo " This script will attempt to install issue 13 of The Word"
Echo " to your harddrive, do you wish to continue (y/n)?" NOLINE
Ask ""
If NOT WARN
Echo "Terminating Installation"
Skip FINISHED
Endif
Echo " "
Echo " Now you will be asked to select a destination for The"
Echo " Word, a directory (called 'Word_13') will be created and"
Echo " the magazine will be installed there, press return to"
Echo " continue..." NOLINE
Ask ""
Failat 21
Echo >Ram:TW.temp0 "Assign >Nil: TWTemp: " NOLINE
RequestFile >>Ram:TW.temp0 "" PATTERN "" TITLE "Hmmm" POSITIVE "Do it!" DRAWERSONLY NOICONS
Execute >Nil: Ram:TW.temp0
Delete >Nil: Ram:TW.temp0
;----------------------------------- Directory Assign Failed...
Assign >Nil: TWTemp: EXISTS
If WARN
Echo " FAILED! - Installation was unable to Find"
Echo " and Assign Requested Directory!"
Skip FINISHED
Endif
;------------------------------------ Create Destination Dirs...
Makedir TWTemp:Word_13
Makedir TWTemp:Word_13/Files
Makedir TWTemp:Word_13/Files/Setup
;------------------------------------ Create icons...
If EXISTS "ENVARC:Sys/def_drawer.info"
Copy "ENVARC:Sys/def_drawer.info" TWTemp:Word_13.info
Endif
;------------------------------------ Wait for Disk 1 in any drive
Assign >Nil: CRN-TW13a: EXISTS
If WARN
Echo "*n Waiting for disk 1" NOLINE
Lab DISK1
Assign >Nil: CRN-TW13a: EXISTS
If WARN
Wait 2
Echo "." NOLINE
Skip DISK1 BACK
Endif
Echo " "
Endif
;------------------------------------ Copy main files etc...
Wait 1
Echo "*n Accessing Disk 1*n"
Echo "Copying Main Executable..." NOLINE
Copy "CRN-TW13a:Word.exe#?" "TWTemp:Word_13/" QUIET
Echo "Done"
Echo "Copying the Articles..." NOLINE
Copy "CRN-TW13a:Files/#?" ALL "TWTemp:Word_13/Files/" QUIET
Echo "Done"
Echo "Copying the Fonts..." NOLINE
Copy "CRN-TW13a:Fonts/#?" ALL FONTS: QUIET
Echo "Done"
;------------------------------------ Wait for Disk 2 in any drive
Assign >Nil: CRN-TW13b: EXISTS
If WARN
Echo "*n Waiting for disk 2" NOLINE
Lab DISK2
Assign >Nil: CRN-TW13b: EXISTS
If WARN
Wait 2
Echo "." NOLINE
Skip DISK2 BACK
Endif
Echo " "
Endif
;------------------------------------ Copy main files etc...
Wait 1
Echo "*n Accessing Disk 2*n"
Echo "Copying the Articles..." NOLINE
Copy "CRN-TW13b:Files/#?" ALL "TWTemp:Word_13/Files/" QUIET
Echo "Done"
Echo "Copying the Article Tester..." NOLINE
Copy "CRN-TW13b:TWAT#?" "TWTemp:Word_13/" QUIET
Echo "Done"
Wait 2
CD TWTemp:
Echo "*n Your copy of The Word issue 13 is now installed in"
Echo " the directory " NOLINE
CD
Assign TWTemp: DISMOUNT
Echo "*n You do not need to make any assigns but we would"
Echo " Recommend a utility like FreakBoot or BootSelect"
Echo " is used to maximise your CHIP RAM."
Ask "*n Press Return..."
Lab FINISHED
EndCLI >Nil: